﻿// copyright (c) 2025 author:fio66<fio66@foxmail.com>. All rights reserved.
// date: 2025-08-21 17:09:47

#include "src/ffmpeg_warpper_export.h"

#include "src/demuxer_impl.h"

#ifdef _WIN32
#include "src/audio_device_win32.h"
#endif // _WIN32

namespace fio66 {
std::unique_ptr<Demuxer> CreateDemuxer() {
  return std::unique_ptr<Demuxer>(new DemuxerImpl);
}

std::unique_ptr<AudioDevice> CreateAudioDevice() {
  return std::unique_ptr<AudioDevice>(new AudioDeviceWin32);
}

}  // namespace fio66